<template>
  <div />
</template>

<script>
import { mapGetters } from 'vuex'
export default {
  data() {
    return {
    }
  },
  computed: {
    ...mapGetters([
      'permission_routes'
    ])
  },
  mounted() {
    const routeName = this.permission_routes.find(item => !item.hidden && item.children).name
    this.$router.push({ name: routeName })
  }
}
</script>

<style lang="scss" scoped>
</style>
